package spotGUI.firstRunGUI;

import java.awt.BorderLayout;
import java.awt.Color;

import javax.swing.JPanel;
import javax.swing.JTextArea;
import javax.swing.border.EmptyBorder;
import java.util.ResourceBundle;

public class WelcomePanel extends JPanel {
	private JTextArea txtrBenvenutoConSpot;

	/**
	 * Create the panel.
	 */
	public WelcomePanel() {
		setBorder(null);
		setLayout(new BorderLayout(0, 0));
		
		txtrBenvenutoConSpot = new JTextArea();
		txtrBenvenutoConSpot.setLineWrap(true);
		txtrBenvenutoConSpot.setBorder(new EmptyBorder(15, 15, 15, 15));
		txtrBenvenutoConSpot.setOpaque(false);
		txtrBenvenutoConSpot.setBackground(new Color(0,0,0,0));
		txtrBenvenutoConSpot.setWrapStyleWord(true);
		txtrBenvenutoConSpot.setEditable(false);
		txtrBenvenutoConSpot.setText(ResourceBundle.getBundle("spotGUI.firstRunGUI.messages").getString("WelcomePanel.txtrBenvenutoConSpot.text")); //$NON-NLS-1$ //$NON-NLS-2$
		add(txtrBenvenutoConSpot, BorderLayout.CENTER);
	}

}
